<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
 *
 * @package    Inherit_View
 * @author     homm
 * @copyright  (c) 2009 homm
 * @license    http://kohanaphp.com/license.html
 */
abstract class Base_Inherit_View extends ArrayObject {
	public function __construct(array $data, Controller $controller)
	{
		parent::__construct($data, ArrayObject::ARRAY_AS_PROPS | ArrayObject::STD_PROP_LIST);
		
		$this->controller = $controller;
		$this->render();
	}
	
	abstract public function render();
}